package com.banmao.algorithm.No901To1100.No1047;

public class Answer {

    public static void main(String[] args) {
        String s = "abbaca";
        Solution2 solution = new Solution2();
        String res = solution.removeDuplicates(s);
        System.out.println(res);
    }

}
